@extends('plugin.layout.baseDoing')
@section('add_css')
    <link rel="stylesheet" href="{{ ___('/admin/js/jquery.tagsinput.css') }}">
    <link rel="stylesheet" href="{{ ___('/admin/js/select2/select2.css') }}">
@endsection
@section('content')
    <div class="layui-card">

        <div class="layui-card-body">
            <div class="layui-form layui-form-kongqi" lay-filter="">
                {{ csrf_field() }}
                <input type="hidden" name="item_value" value="null">

                <div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief">
                    <ul class="layui-tab-title">
                        <li class="layui-this">搜索栏目添加</li>
                    </ul>
                    <div class="layui-tab-content">
                        <div class="layui-tab-item layui-show">
                            <div class="layui-form-item">
                                <label class="layui-form-label">选择筛选项</label>
                                <div class="layui-input-block">
                                    <select name="item_key" class="layui-select" id="item_key">
                                        <option value="">请选择</option>
                                        @if(count($list)>0)
                                            @foreach($list as $k=>$v)
                                                <option value="{{ $v}}">{{ $v}}</option>
                                            @endforeach
                                        @endif
                                    </select>
                                </div>
                            </div>
                            @include('plugin.tpl.form.text',[
                              'data'=>[
                                  'name'=>'item_order',
                                  'title'=>'排序',
                                  'tips'=>'显示在筛选栏的上下顺序',
                                  'mark'=>'按照设置的值进行正序排列',
                                  'value'=>'0',
                                  'rq'=>''
                          ]])
                        </div>
                    </div>
                </div>
                @include('admin.tpl.form.submit')
            </div>
        </div>
    </div>

@endsection
@section('foot_js')
    <script>
        layui.use(['index', 'form', 'uploader'], function () {
            var form = layui.form;




        })
    </script>

@endsection
